package com.the4man.framework.dao;

import com.the4man.framework.model.Department;
import com.the4man.framework.model.Moudle;
import com.the4man.framework.model.Role;
import com.the4man.framework.model.User;
import com.the4man.framework.pagemodel.PSystemManager;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface SystemManagerMapper {
    int saveUserDetail(PSystemManager var1);

    User getUserInfo(PSystemManager var1);

    int addUserInfo(PSystemManager var1);

    int deleteBatchUser(List<String> var1);

    int modifyUserInfo(PSystemManager var1);

    List<User> getAllUserInfo(PSystemManager var1);

    List<Role> getEtlRoleData(PSystemManager var1);

    int addRoleData(PSystemManager var1);

    int deleteBatchRole(List<String> var1);

    int deleteBatchRoleMoudle(List<String> var1);

    int modifyRoleData(PSystemManager var1);

    int checkRoleName(PSystemManager var1);

    List<Moudle> getMoudleDataByRole(PSystemManager var1);

    int insertLimitRoleModule(PSystemManager var1);

    int deleteCurrentRoleModule(PSystemManager var1);

    List<Moudle> getEtlMoudleData(PSystemManager var1);

    int addMoudleData(PSystemManager var1);

    int deleteBatchMoudle(List<String> var1);

    int modifyMoudleData(PSystemManager var1);

    int checkMoudleName(PSystemManager var1);

    List<Department> getEtlDepartmentData(PSystemManager var1);

    int addDepartment(PSystemManager var1);

    int deleteDepartment(PSystemManager var1);

    int modifyDepartmentData(PSystemManager var1);
}
